using UnityEngine;
using System.Collections;

public class Colision_alvo : MonoBehaviour {

	
	void Start () 
    {
        this.gameObject.AddComponent("BoxCollider");
        //this.gameObject.AddComponent("Rigidbody");

		this.gameObject.tag = "Colisor";

        //this.gameObject.GetComponent<Rigidbody>().useGravity = false;
		//this.gameObject.GetComponent<Rigidbody>().freezeRotation = true;
		//this.gameObject.rigidbody.constraints = RigidbodyConstraints.FreezeAll;
        this.gameObject.GetComponent<BoxCollider>().size = new Vector3(1.11f, 3.07f, 1f);

        //this.gameObject.transform.localPosition = new Vector3(5.535206f, -2.275573f, -1.2f);


	}
	
	
	void Update () 
    {
		this.gameObject.transform.localPosition = new Vector3(5.535206f, -2.275573f, -1.2f);
	}
}